/* my custom classes */

.map {
    z-index: 1 !important;
}

.those-dots {
    /* slider indicator dots */
    margin-bottom: 1.5rem !important;
}

@media (min-width: 990px) {
    /* sticky search filter. */
    .paddington {
        padding-top: 4.7rem;
        padding-bottom: 0.4rem;
        position: fixed;
        top: 5.7px;
        z-index: 98;
        width: 100%;
        background-color: #22337d;
        box-shadow: 2px 3px 4.7px .3px rgba(0, 0, 0, .24);
    }
    /* larger space 10.5 for breadcrumbs row, to avoid navbar */
    .space-above {
        padding-top: 9.7rem;
    }
    /* arrows vanish on smaller screens */
    .arrow-margin {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    /* border right on large screens. to seperate two buttons for sale/ for rent */
    .my-forsale-spacing {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
    /* .my-border-right {
        border-right: 0.5px;
        border-right-color: rgb(131, 110, 110);
        border-right-style: solid;
    }
    .my-border-right:hover {
        border-right: 0.5px;
        border-right-color: rgb(196, 187, 187);
        border-right-style: solid;
    } */
}

@media (max-width: 990px) {
    .vanish {
        display: none !important;
    }
    .paddington {
        /* reduce padding if navbar is collapsed */
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .my-forsale-mb {
        margin-bottom: 10px !important;
    }
    .fa.fa-whatsapp.color-green {
        color: green !important;
    }
}

.my-img {
    /* width: 100vh !important; */
    height: auto !important;
    object-fit: cover;
}

.my-card {
    width: 500px;
    height: 300px;
    object-fit: cover;
}

.my-text-box {
    margin: 0px 2px;
}


/* media queries for 14inch screens */


/* @media only screen and (max-width: 600px) and (min-width: 400px)  */

@media (min-width: 992px) and (max-width: 1279px) {
    /* for the large top places card */
    .my-margin-top-md {
        margin-top: 24px;
    }
}

@media (min-width: 992px) {
    .my-height-md {
        height: 220px;
        min-height: 220px;
    }
    .my-img-height-md {
        min-height: 220px;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .my-height-md {
        height: 180px;
        min-height: 180px;
    }
    .my-img-height-md {
        min-height: 180px;
        object-fit: cover;
    }
}


/* this class is for autocomplete functionality */

.autocomplete {
    position: relative;
    /* display: inline-block; */
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 900 !important;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    overflow: auto;
    max-height: 75vh;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}


/*when hovering an item:*/

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}


/*when navigating through the items using the arrow keys:*/

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

@media (min-width: 992px) {
    .autocomplete {
        position: fixed !important;
        z-index: 2;
    }
    .autocomplete-items {
        position: relative !important;
        z-index: 2;
    }
    .width-big-screen {
        width: 180px !important;
    }
}

@media (max-width: 991px) {
    .width-big-screen {
        width: 100% !important;
        min-width: 100% !important;
        display: block;
    }
    .width-big-screen-md {
        width: 100% !important;
    }
}


/*end my custom classes */
